package tessk.common.def;

/**
 * 返回参数
 * @author zhangy
 *
 */
public enum ResultEnum {

	SUCCESS("000000","请求成功"),
	NO_THIS_PERMISSION("900001","没有权限"),
	USER_INFO_ERROR("900002","用户名或密码错误"),
	LOGIN_OUT_TIME("900003","未登录或登录超时"),
	PARAM_ERROR("900004","未输入参数或参数格式有误"),
	NO_THIS_URL("900005","没有当前查询信息"),
	USER_NO_EXIST("900006","账号尚未注册"),
	UNKNOWN_ERROR("999999","未知错误");
	
	private String status;
	
	private String msg;
	
	private ResultEnum(String status,String msg){
		this.status = status;
		this.msg=msg;
	}

	public String getStatus() {
		return status;
	}


	public String getMsg() {
		return msg;
	}

	
	
	
}
